public class State extends java.util.ArrayList<Individual> implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
double |
decisionpercent
The decisionpercent: The amount of decision factor the individual has
|
double |
experiencepercent
The experiencepercent: The amount of experience the individual has
|
java.lang.String |
filename
The filename: The file name that the user is saving to
|
double |
gamepercentage
The gamepercentage: User defined that defines the majority/minority boundary
|
int |
iteration
The iteration: The number of iteration the simulation is on.
|
double |
numberoffriends
The numberoffriends: Number of friend the individual has
|
int |
numberofskiiers
The numberofskiiers: User defined that defines how many skiiers are in the simulation
|
int |
numberofweeks
The numberofweeks: User defined that defines how many weeks the user is simulating
|
java.util.ArrayList<double[]> |
parksuccess
The parksuccess: Array that stores the history of the park's success rate
|
boolean |
resort
The resort: Returns a 1 if the user has selected the resort in the initial window
|
double |
skilllevel
The skilllevel.
|
double |
weather
The weather: Randomly generated variable that defines the weather of the week
|
| Constructor and Description |
|---|
State(Details d)
Instantiates a new state.
|
public int iteration
public java.util.ArrayList<double[]> parksuccess
public double gamepercentage
public int numberofskiiers
public int numberofweeks
public double weather
public double numberoffriends
public double experiencepercent
public double skilllevel
public double decisionpercent
public java.lang.String filename
public boolean resort
public State(Details d)
d -